// createPinia(from pinia) 已被组件 unplugin-auto-import 自动全局引用
import type { App } from 'vue'
import { createUnistorage } from 'pinia-plugin-unistorage'

export const pinia = createPinia()
pinia.use(createUnistorage())
export const setupPinia = (app: App<Element>) => app.use(pinia)
